package com.qys.livesMall.shop.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 店铺收益分佣配置
 * </p>
 *
 * @author wzy
 * @since 2023-06-27
 */
@Getter
@Setter
@TableName("h2_shop_income_config")
@Schema(name = "ShopIncomeConfig", description = "店铺收益分佣配置")
public class ShopIncomeConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @Deprecated
    @Schema(description = "平台抽成比例")
    private BigDecimal platform;

    @Schema(description = "主播抽成比例")
    private BigDecimal anchor;

    @Schema(description = "上级抽成总比")
    private BigDecimal superiorStore;

    @Schema(description = "先款折扣比例")
    private BigDecimal advancePayment;

    @Schema(description = "有效店铺金额")
    private BigDecimal effectiveShop;
}
